#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include<cstdio>

using namespace std;

int main()
{
    int x, arr[10];
    for (int i = 0; i < 10; i++)
    {
        cin >> x;
        arr[i] = x;
        if (arr[i] <= 0)
        {
            arr[i] = 1;
            printf("X[%d] = %d\n", i, arr[i]);
        }
        else
            printf("X[%d] = %d\n", i, arr[i]);
    }
    return 0;
}
